/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.kreig133.graphic;

import java.util.Map;
import javax.swing.JPanel;
import org.jfree.ui.RefineryUtilities;

/**
 *
 * @author C.C.-fag
 */
public class MakeGraphic {

    public static JPanel drawGraphic(String title, Map<Double, Double> data) {
        GraphicFrame1 graphicFrame = new GraphicFrame1(title, data);
        return graphicFrame;
    }
}
